package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.DishDto;
import com.itheima.reggie.entity.Dish;

import java.util.List;

public interface DishService extends IService <Dish>{
    /**
     * 新增菜品和口味信息
     * @param dishDto
     */
   public void dishWithFlavor(DishDto dishDto);
   // 根据id查询回显数据
   public DishDto getWithFlavor(Long id);
   //修改菜品和口味
   public void updateWithFlavor(DishDto dishDto);
   //删除菜品和口味信息
   public void removeWithFlavor(List<Long> ids);
}
